chore: rename function, change log level.
authorCamila Ayres <hello@camilasan.com>
Tue, 15 Apr 2025 09:52:19 +0000 (11:52 +0200)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 15 Apr 2025 20:47:11 +0000 (20:47 +0000)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/accountmanager.cpp
src/libsync/clientproxy.cpp
src/libsync/clientproxy.h

index cfcce16a48f61ad7f2c19cd13a9f782ef7f0bb9d..a224d49647a79e0aeadadede09414a067a1ef900 100644 (file)
@@ -268,7 +268,7 @@ bool AccountManager::restoreFromLegacySettings()
     configFile.setShowCallNotifications(settings->value(QLatin1String(showCallNotificationsC)).toBool());
     configFile.setShowChatNotifications(settings->value(QLatin1String(showChatNotificationsC)).toBool());
     configFile.setShowInExplorerNavigationPane(settings->value(QLatin1String(showInExplorerNavigationPaneC)).toBool());
-    ClientProxy().setupQtProxyFromSettings(*settings);
+    ClientProxy().saveProxyConfigurationFromSettings(*settings);
 
     // Try to load the single account.
     if (!settings->childKeys().isEmpty()) {
index 41fd7f6c206c1cfc53d4b6585234d740df2edbd2..7912e323f3eebe4f0fd1217eec68492b587091a1 100644 (file)
@@ -139,10 +139,10 @@ void ClientProxy::setupQtProxyFromConfig()
     }
 }
 
-void ClientProxy::setupQtProxyFromSettings(const QSettings &settings)
+void ClientProxy::saveProxyConfigurationFromSettings(const QSettings &settings)
 {
     if (settings.value(QLatin1String(proxyTypeC)).isNull()) {
-        qCInfo(lcClientProxy) << "No Proxy settings found.";
+        qCDebug(lcClientProxy) << "No Proxy settings found.";
         return;
     }
 
index f1104d85d75b2d5d10e74638c077686207fc8d9b..d54b4ccc252f9e2049998dc691ac190834c74a4b 100644 (file)
@@ -46,7 +46,7 @@ public:
 
 public slots:
     void setupQtProxyFromConfig();
-    void setupQtProxyFromSettings(const QSettings &settings);
+    void saveProxyConfigurationFromSettings(const QSettings &settings);
 };
 
 class OWNCLOUDSYNC_EXPORT SystemProxyRunnable : public QObject, public QRunnable